<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<div id="content_main">
	<fieldset>
		<legend>
			<strong>Prize Information</strong>
		</legend>
		<form:form method="post" action="/ChitFund/user/savePrize.htm">

			<div id="prizform">
				<table>
					<tr>
						<td><strong><label>Member Id</label></strong></td>
						<td><form:input path="memberId" id="memberId" /><input
							class="btn btn-default" type="button" id="cbtn"></td>
						<!--       <td><strong>   OR</strong></td> -->
						<td height="35"><strong><label>Ticket No.</label></strong></td>
						<td><form:input path="ticketNo" id="ticketNo" /><input
							class="btn btn-default" type="button" id="tbtn"></td>

					</tr>
					<tr>
						<td><strong><label>Form No.</label></strong></td>
						<td><form:input path="formNo" id="formNo" /></td>

					</tr>
					<tr>
						<td><form:label path="branch.branchId">Branch</form:label></td>
						<td><select name="branch.branchId">
								<option selected="selected" value="null">select Branch</option>
								<c:forEach var="branch" items="${branches}">
									<option value="${branch.branchId}">
										<c:out value="${branch.branchName}" />
									</option>
								</c:forEach>
						</select></td>
					</tr>
					<tr>
						<td><strong><label>Prize Date</label></strong></td>
						<td><form:input path="prizeDate" id="prizeDate" /></td>
						<td><strong><label>Prize Amount</label></strong></td>
						<td><form:input path="prizeAmount" id="prizeAmount" /></td>

					</tr>
					<tr>
						<td><strong><label>Cheque No.</label></strong></td>
						<td><form:input path="chequeNo" id="chequeNo" /></td>
						<td><strong><label>Cheque Date</label></strong></td>
						<td><form:input path="chequeDate" id="chequeDate" /></td>
					</tr>
					<tr>
						<td><strong><label>Bank Name</label></strong></td>
						<td><select name="bankName" id="bankName">
						</select></td>
						<td><strong><label>Account Number</label></strong></td>
						<td><select name="accountNo" id="accountNo">
						</select></td>
					</tr>
					<tr>
						<td><strong><label>Verification Charges</label></strong></td>
						<td><form:input path="verifyCharge" id="verifyCharge" /></td>
						<td><strong><label>File Charges</label></strong></td>
						<td><form:input path="fileCharge" id="fileCharge" /></td>
					</tr>
					<tr>
						<td><strong><label>Document Charges</label></strong></td>
						<td><form:input path="documentCharge" id="documentCharge" /></td>
						<td><strong><label>Adjustment</label></strong></td>
						<td><form:input path="adjustment" id="adjustment" /></td>
					</tr>
					<tr>
						<td><strong><label>Net Payable Amount</label></strong></td>
						<td><form:input path="netpayableAmount" id="netpayableAmount" /></td>
					</tr>

				</table>
			</div>
			<div class="form-btn">
				<input type="submit" name="save" id="save" value="Save"
					class="btn btn-large" /> <input type="button" name="cancel"
					id="cancel" value="Cancel" class="btn btn-large" />
			</div>
		</form:form>
	</fieldset>
</div>